package com.youhome.mapper;

import com.youhome.model.BUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
public interface BUserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(BUser record);

    int insertSelective(BUser record);

    BUser selectByPrimaryKey(Long userId);

    BUser selectByPhone(String phone);

    int updateByPrimaryKeySelective(BUser record);

    int updateByPrimaryKey(BUser record);
}